<?php
	class truycapdb
	{
		public function Update()
		{
			$sql = "UPDATE `tbl_truycap` SET `SoLuot` = `SoLuot` + 1 WHERE 1";

			$db  = new dataservice();
			return $db->ExecuteNonQuery($sql);
		}
		
		public function GetList()
		{
			$sql = "SELECT * FROM `tbl_truycap` WHERE 1";
			
			$db = new dataservice();
			return $db->ExecuteQuery($sql);
		}
	}
?>